package com.yykj.tencent.im.server.bean.callback;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * 群成员离开之后回调
 *
 */
@Data
public class AfterMemberExitCallback {
    @JsonProperty("CallbackCommand")
    private String callbackCommand;

    @JsonProperty("GroupId")
    private String groupId;

    @JsonProperty("Type")
    private String type;

    @JsonProperty("ExitType")
    private String exitType;

    @JsonProperty("Operator_Account")
    private String operatorAccount;

    @JsonProperty("ExitMemberList")
    private List<ExitMemberItem> exitMemberList;

    @Data
    public static class ExitMemberItem {
        @JsonProperty("Member_Account")
        private String memberAccount;
    }
}
